package com.finalist.job;

import javax.annotation.Resource;

import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.finalist.service.WinPeopleInfoService;

@Component("winPeopleInfoJob")
@Lazy(false)
public class WinPeopleJob {

	@Resource(name = "winPeopleInfoServiceImpl")
	private WinPeopleInfoService winPeopleInfoService;

	/**
	 * 释放
	 */
	@Scheduled(fixedDelay = ( 1 * 30 * 1000))
	public void releaseStock() {
		winPeopleInfoService.releaseStock();
	}
	
}
